package com.yunhui.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
/**
 * <p>
 * 行程详情表
 * </p>
 *
 * @author WGH
 * @since 2019-12-09
 */
public class RouteXx extends Model<RouteXx> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 外键基本行程id
     */
    @TableField("jbId")
    private Integer jbId;
    /**
     * 起点
     */
    private String origin;
    /**
     * 目的地
     */
    private String destination;
    /**
     * 标题
     */
    private String title;
    /**
     * 用餐介绍
     */
    private String dine;
    /**
     * 住宿
     */
    private String stay;
    /**
     * 详细行程介绍
     */
    private String introduce;
    /**
     * 详情的图片1
     */
    @TableField("imgName1")
    private String imgName1;
    /**
     * 详情的图片2
     */
    @TableField("imgName2")
    private String imgName2;
    /**
     * 详情的图片3
     */
    @TableField("imgName3")
    private String imgName3;
    /**
     * 详情的图片4
     */
    @TableField("imgName4")
    private String imgName4;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getJbId() {
        return jbId;
    }

    public void setJbId(Integer jbId) {
        this.jbId = jbId;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDine() {
        return dine;
    }

    public void setDine(String dine) {
        this.dine = dine;
    }

    public String getStay() {
        return stay;
    }

    public void setStay(String stay) {
        this.stay = stay;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getImgName1() {
        return imgName1;
    }

    public void setImgName1(String imgName1) {
        this.imgName1 = imgName1;
    }

    public String getImgName2() {
        return imgName2;
    }

    public void setImgName2(String imgName2) {
        this.imgName2 = imgName2;
    }

    public String getImgName3() {
        return imgName3;
    }

    public void setImgName3(String imgName3) {
        this.imgName3 = imgName3;
    }

    public String getImgName4() {
        return imgName4;
    }

    public void setImgName4(String imgName4) {
        this.imgName4 = imgName4;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "RouteXx{" +
        ", id=" + id +
        ", jbId=" + jbId +
        ", origin=" + origin +
        ", destination=" + destination +
        ", title=" + title +
        ", dine=" + dine +
        ", stay=" + stay +
        ", introduce=" + introduce +
        ", imgName1=" + imgName1 +
        ", imgName2=" + imgName2 +
        ", imgName3=" + imgName3 +
        ", imgName4=" + imgName4 +
        "}";
    }
}
